compDateCheckNum

fun compDateCheckNum(t1: Txn, t2: Txn, useTaxDate: Boolean): Int

Compare two transactions by date.

Return

0 if they are the same, < 0 if left is less than right, > 0 otherwise.

Parameters

t1

First transaction to compare (left hand side).

t2

Second transaction to compare (right hand side).

useTaxDate

True if comparing tax dates, false if transaction date.